var arr = [1,3,2,5,7,"terry",null,true]
console.log(arr[10])  //undefinded

arr[10] = "larry"
console.log(arr[10])  //"larry"

//删除数组值
arr.length = 2
console.log(arr,arr[10])  //[1,3] undefinded

